package com.realife.ysuper.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

    import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * 订单详情表
 *
 * @author Albert
 * @email 15962463559@163.com
 * @date 2020-06-05 10:04:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@TableName("tb_order_detail")
public class OrderDetailEntity implements Serializable {
    private static final long serialVersionUID = 1L;

            /**
         * 订单详情id 
         */
                @TableId
            private Long id;
            /**
         * 订单id
         */
            private Long orderId;
            /**
         * sku商品id
         */
            private Long skuId;
            /**
         * 购买数量
         */
            private Integer num;
            /**
         * 商品标题
         */
            private String title;
            /**
         * 商品动态属性键值集
         */
            private String ownSpec;
            /**
         * 价格,单位：分
         */
            private Integer price;
            /**
         * 商品图片
         */
            private String image;
            /**
         * 创建时间
         */
            private Date createTime;
            /**
         * 更新时间
         */
            private Date updateTime;
    
}
